package com.store.domain.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 图书表(Book)表实体类
 *
 * @author yu
 * @since 2024-06-26 01:12:42
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("es_book")
public class Book  {
    //图书主键ID@TableId
    private Integer id;

    //图书名称
    private String name;
    //图书封面图片
    private String cover;
    //图书简介
    private String description;
    //图书作者
    private String author;
    //图书出版社
    private String publisher;
    //图书价格
    private Double price;
    //库存数量
    private Integer storeNum;
    //0: 上架 1：下架
    private Integer status;
    //图书分类ID
    private Integer categoryId;



}
